

import { lazy } from "react";
// 普通路由
// import NotFound from "./404";
// import BabService from "./503";

// 路由懒加载 隐藏bug（闪屏效果）
const NotFound = lazy(()=>import('./404'))
const BabService = lazy(()=>import('./503'))

export default[
    {
        path:"/404",
        element:<NotFound />
    },
    {
        path:"/503",
        element:<BabService />
    }
]